package com.fzt.common.constant;

/**
 * <p>
 *
 * </p>
 *
 * @author 非洲铜
 * @since 2022-12-09
 */
public interface RedisKeys {

    /**
     * 验证码Key
     */
    static String getCaptchaKey(String key) {
        return "sys:captcha:" + key;
    }

    /**
     * accessToken Key
     */
    static String getAccessTokenKey(String accessToken) {
        return "sys:access:" + accessToken;
    }
}
